#!/bin/bash
install_zed() {
	cp settings.json ~/.config/zed/settings.json
}
package_config() {
	name=$1
	softname=$(find . -name "${name}")
	if [ -z "$softname" ]; then
		echo "Package not found"
		return 1
	else
		pushd $softname >/dev/null
	fi
	case "$name" in
	zed)
		install_zed
		;;
	2 | 3)
		echo 2 or 3
		;;
	*)
		echo default
		;;
	esac

}
package_config $1
